package com.tedu.bill.demo3;

import java.io.*;

/**
 * Author：毕龙
 * Date: 2024/5/26 16:49
 */
public class TestReader {
    public static void main(String[] args) throws IOException {
        //创建字符输入流
        Reader reader = new FileReader("day14/src/a.txt");

        int read = reader.read();
        while ((read = reader.read())!= -1){
            System.out.print((char)read);
        }

        reader.close();

    }
}
